//
//  NSConnectionImpl.h
//  networkframework
//
//  Created by Pang Jun on 4/5/13.
//  Copyright (c) 2013 Pang Jun. All rights reserved.
//

#ifndef networkframework_NSConnectionImpl_h
#define networkframework_NSConnectionImpl_h

#include "netconnection.h"
#include "URLDownloadConnection.h"
#import <Foundation/Foundation.h>

class NSConnectionImpl : public NetConnection
{
    
public:
    NSConnectionImpl();
    virtual std::string GetData(std::string reqURL);
    
private:    
    NSConnectionImpl(const NSConnectionImpl& ins);
    
private:
    URLDownloadConnection *pURLDownloadConnection;
    
};

extern "C" NetConnection* getNetConnection();


#endif
